package com.hong610;

import com.hong610.interceptor.InterceptorAdapter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({"com.hong610"})//扫描包
@EnableAutoConfiguration(exclude = {ErrorMvcAutoConfiguration.class})
public class Application extends InterceptorAdapter {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
